//
//  ForgetPasswardView.swift
//  GOFM
//
//  Created by siri on 2024/9/4.
//  Copyright © 2024 Glad. All rights reserved.
//

//
//  forgetView.swift
//  GladDemo
//
//  Created by zhangl on 2024/7/11.
//

import SwiftUI

struct ForgotPasswordSheet: View {
    @Binding var isPresented: Bool // 控制弹框显示
    
    var body: some View {
        VStack(spacing: 0) {
            Text("请联系管理员")
                .font(Font.g_font_body_regular16)
                .padding()
            
            Image("pic_login_qrcode")
                .resizable()
                .scaledToFit()
                .frame(height: 150)
            
            Spacer(minLength: 4)
            
            Divider() // 分隔线
            
            Button(action: {
                isPresented = false // 点击关闭时，隐藏弹框
            }) {
                Text("关闭")
                    .font(Font.g_font_body_medium16)
                    .foregroundColor(Color.g_color_theme)
                    .padding()
            }
        }
        .frame(width: 280, height: 270)
        .background(Color.g_color_bg_white)
        .cornerRadius(16)
        .shadow(radius: 8)
    }
}
